header {
  padding: 0 10px;
  background-color: #090E24;
  display: flex;
  gap: 10px;

  .logo {
    img {
      height: 46px;
      margin: 7px 0;
    }
  }

  .title {
    background-image: linear-gradient(rgba(0, 128, 192, 1) 20%, var(--font-blue-light-color) 70%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

    h1 {
      font-size: 24px;
      font-weight: 600;
      line-height: 45px;
    }

    h3 {
      font-size: 12px;
      letter-spacing: .3px;
      line-height: 0;
    }
  }

  .breadcrumb {
    min-width: 160px;
    font-size: 16px;
    height: 100%;
    line-height: 50px;
    color: var(--font-blue-color);
  }

  nav {
    flex: 1;
    display: flex;
    margin-left: 50px;
    gap: 15px;

    .item {
      font-size: 16px;
      height: 60px;
      line-height: 60px;
      color: var(--font-blue-color);
      padding: 0 10px;
      cursor: pointer;
      box-sizing: border-box;
      position: relative;

      .el-icon-arrow-down {
        transform: rotate(0deg);
        transition: all .1s linear;
      }
    }

    .item-footer {
      position: absolute;
      bottom: 0;
      width: 100%;
      left: 0;
    }

    .item-footer:before,
    .item-footer:after {
      position: absolute;
      width: 8px;
      height: 8px;
      content: "";
      border-bottom: 1px solid var(--menu-border-color);
      bottom: 14px;
    }

    .item:before, .item-footer:before {
      border-left: 1px solid var(--menu-border-color);
      left: 0;
    }

    .item:after, .item-footer:after {
      border-right: 1px solid var(--menu-border-color);
      right: 0;
    }

    .item:before, .item:after {
      position: absolute;
      width: 8px;
      height: 8px;
      content: "";
      border-top: 1px solid var(--menu-border-color);
      top: 14px;
    }

    .item.active,
    .item:hover {
      > span {
        color: var(--menu-hover-color);
      }

      border-color: var(--menu-hover-border-color);

      .item-footer:before,
      .item-footer:after {
        border-color: var(--menu-hover-border-color);
      }
    }

    .item:hover {
      .el-icon-arrow-down {
        transform: rotate(-90deg);
      }
    }

    .item:hover:before,
    .item:hover:after,
    .item.active:before,
    .item.active:after {
      border-color: var(--menu-hover-border-color);
    }

    .subMenu {
      position: absolute;
      top: 45px;
      left: 0;
      //text-align: center;
      width: 100%;
      padding: 5px 0;
      background-color: #090E24;
      border: 1px solid var(--menu-hover-border-color);
      border-top: none;
      border-radius: 0 0 5px 5px;
      overflow: hidden;
      box-sizing: border-box;
      z-index: 50000;

      .sub-item {
        padding: 0 10px;
        height: 40px;
        line-height: 40px;
        font-weight: normal;
        border-bottom: 1px dashed rgba(255, 255, 255, .05);
      }

      .sub-item:last-child {
        border-bottom: none;
      }

      .sub-item.active, .sub-item:hover {
        color: #e0e0e0;
        background-color: rgba(255, 255, 255, .1);
      }
    }
  }

  .time {
    height: 100%;
    line-height: 60px;
    color: #999;
    min-width: 212px;
  }

  .actionMenu {
    li {
      cursor: pointer;
    }
  }

  .user {
    > span {
      margin: 0 5px;
    }

    .divider {
      display: inline-block;
      width: 1px;
      height: 20px;
      background-image: linear-gradient(to bottom, #111, #0F658E, #111);
    }

    .fs12 {
      font-size: 14px;
    }

    height: 100%;
    line-height: 60px;
    color: var(--font-blue-color);
    position: relative;
    display: flex;
    align-items: center;

    .el-icon-arrow-down {
      transform: rotate(0deg);
      transition: all .1s linear;
      cursor: pointer;
    }

    ul {
      position: absolute;
      top: 48px;
      right: 0;
      width: 120px;
      min-width: 100px;
      background-color: #fefefe;
      border: 1px solid rgba(25, 186, 139, .4);
      box-sizing: border-box;
      z-index: 100;

      li {
        font-size: 14px;
        padding: 0 15px;
        height: 40px;
        line-height: 40px;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
        color: #4f4f4f;

        span {
          margin-right: 5px;
        }
      }

      li:last-child {
        border-bottom: none;
      }

      li:hover {
        color: var(--font-blue-color);
        background-color: #efefef;
      }

    }

    ul:before {
      content: "";
      border: 7px solid rgba(25, 186, 139, .17);
      border-top: none;
      border-right-color: transparent;
      border-left-color: transparent;
      position: absolute;
      top: -7px;
      right: 3px;
    }

    ul:after {
      content: "";
      border: 5px solid #fefefe;
      border-top: none;
      border-right-color: transparent;
      border-left-color: transparent;
      position: absolute;
      top: -5px;
      right: 5px;
    }
  }

  .user.active {
    .el-icon-arrow-down {
      transform: rotate(-90deg);
    }
  }

  .logout {
    color: #999;
    font-size: 15px;
    cursor: pointer;
  }

  .logout:hover {
    text-decoration: underline;
  }

  .el-icon-message {
    position: relative;

    i {
      position: absolute;
      top: 0;
      right: -1px;
      width: 5px;
      height: 5px;
      background-color: red;
      border-radius: 50%;
    }
  }

}


@media screen and (max-width: 1400px) {
  header {
    zoom: 90%;
  }
}


